馃 A practical web framework for Gleam
at dbfefce2d7f104dfd8e1c51264a413751024d787 58 lines 1.6 kB view raw
1name: test 2 3on: 4 push: 5 branches: 6 - main 7 pull_request: 8 9jobs: 10 test-action: 11 runs-on: ubuntu-latest 12 steps: 13 - uses: actions/checkout@v3 14 - uses: erlef/setup-beam@v1 15 with: 16 otp-version: "26.0" 17 gleam-version: "0.34.0-rc2" 18 rebar3-version: "3" 19 # elixir-version: "1.14.2" 20 - run: gleam format --check src test 21 - run: gleam deps download 22 - run: gleam test 23 24 - name: "Example: 0-hello-world" 25 run: gleam test 26 working-directory: examples/0-hello-world 27 28 - name: "Example: 1-routing" 29 run: gleam test 30 working-directory: examples/1-routing 31 32 - name: "Example: 2-working-with-form-data" 33 run: gleam test 34 working-directory: examples/2-working-with-form-data 35 36 - name: "Example: 3-working-with-json" 37 run: gleam test 38 working-directory: examples/3-working-with-json 39 40 - name: "Example: 4-working-with-other-formats" 41 run: gleam test 42 working-directory: examples/4-working-with-other-formats 43 44 - name: "Example: 5-using-a-database" 45 run: gleam test 46 working-directory: examples/5-using-a-database 47 48 - name: "Example: 6-serving-static-assets" 49 run: gleam test 50 working-directory: examples/6-serving-static-assets 51 52 - name: "Example: 7-logging" 53 run: gleam test 54 working-directory: examples/7-logging 55 56 - name: "Example: 8-working-with-cookies" 57 run: gleam test 58 working-directory: examples/8-working-with-cookies