From a9e2006247e44014f1abbef4d901255b32945f9b Mon Sep 17 00:00:00 2001 From: Evan Fiordeliso Date: Tue, 15 Aug 2023 12:48:58 -0400 Subject: [PATCH] Add tests workflow --- .gitea/workflows/test.yaml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .gitea/workflows/test.yaml diff --git a/.gitea/workflows/test.yaml b/.gitea/workflows/test.yaml new file mode 100644 index 0000000..4c1274c --- /dev/null +++ b/.gitea/workflows/test.yaml @@ -0,0 +1,23 @@ +--- +name: "Test" + +# yamllint disable-line rule:truthy +on: + pull_request: + push: + +jobs: + tests: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: cachix/install-nix-action@v18 + - uses: cachix/cachix-action@v12 + with: + name: ytdl-web + extraPullNames: devenv + authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}' + - name: Install devenv.sh + run: nix profile install github:cachix/devenv/latest + - run: devenv shell echo ok + - run: devenv ci