Iceshrimp.NET/.forgejo/workflows/test-build.yaml
2024-07-02 04:58:28 +02:00

18 lines
484 B
YAML

on:
pull_request:
push:
branches-ignore:
- 'dev'
jobs:
test-build:
runs-on: docker
container:
image: iceshrimp.dev/iceshrimp/iceshrimp.net:ci-env
options: --volume /opt/iceshrimp-cache/nuget:/root/.nuget
steps:
- name: Clone repository
run: git clone ${{ github.event.repository.clone_url }} --branch=${{ github.ref_name }} --depth=1 /iceshrimp
- name: Run tests
run: |
cd /iceshrimp
dotnet test